﻿<local:UserControlBase
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:SBPweb.Accelerators.StreetView.Client.BingMapsProvider.Controls"
    xmlns:microsoft="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
	xmlns:navigation="clr-namespace:Microsoft.Maps.MapControl.Navigation;assembly=Microsoft.Maps.MapControl"
	xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
	xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
	xmlns:inputToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
    mc:Ignorable="d"
	xmlns:System_Windows_Controls_Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls"
	x:Class="SBPweb.Accelerators.StreetView.Client.BingMapsProvider.Controls.MapViewer"
    d:DesignWidth="640" d:DesignHeight="480"
	x:Name="ucMapViewer">
	<Grid x:Name="grdMap">

        <microsoft:Map x:Name="mapViewer"
			CredentialsProvider="AoVtB1BJm-nZkPxLSskyTbpdESRgHBIBakPYrGyUT6I0Ma_dqevGSprbpD1UoHz-"
			LogoVisibility="Collapsed"
            CopyrightVisibility="Collapsed"
			Center="{Binding Model.ViewCenter, ElementName=ucMapViewer, Mode=TwoWay}"
			ZoomLevel="{Binding Model.ZoomLevel, ElementName=ucMapViewer, Mode=TwoWay}" Background="Transparent">
        </microsoft:Map>

    </Grid>
</local:UserControlBase>